Posts

Post not yet marked as solved
1 Replies
Yes, with you decoded (the one you decoded from the userDefaults) `selectionToBlock = savedBlockers() You set the decoded data as the FamilyActivitySelection
Post not yet marked as solved
1 Replies
The extension and the application are different processes so: They are 2 different instances because each one "lives" on a different process . You can use a shared userDefaults or any other persistency (you can share a database file and change it in one process and read from the other) Read this: [https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html) Good luck
Post not yet marked as solved
10 Replies
For me, this was happening when I run tests. Eventually after looking at the spin dump I discovered some issue with one of the pods I was using (With Cocoapods) removing that pod solved the issue
Post not yet marked as solved
3 Replies
@kmart Thanks for the reply but I do see apps that have managed to change the background of the picker. attaching screenshot
Post not yet marked as solved
7 Replies
Can you open a stackoverflow question or better explain your issue?
Post not yet marked as solved
2 Replies
Can you open a stackoverflow question or better explain your issue?
Post marked as solved
3 Replies
These are all codable so you can just do this: var selectionToDiscourage: FamilyActivitySelection if let encoded = try? JSONEncoder().encode(self.selectionToDiscourage) { UserDefaults.standard.set(encoded, forKey: defaultsRestrictionsKey) }
Post not yet marked as solved
19 Replies
Hi Eskimo, I see that on iOS 15 with a network extension -displayMessage:completionHandler: has stopped working. It was working fine on iOS 14. It's marked as deprecated, I get this fix suggestion on Xcode: 'displayMessage(_:completionHandler:)' was deprecated in iOS 12.0: renamed to 'UILocalNotification' Can you confirm? Sounds like there is no alternative? (I guess that the fix suggestion that Xcode gives - "use UILocalNotification" is not correct)
Post not yet marked as solved
2 Replies
You should add the code for "deleteConversion", otherwise it will very hard to help you
Post not yet marked as solved
3 Replies
Thank you, Matt! And what will happen if I remove the "old" network extension identifier and the app group identifier from the "old" developer account - Add them to the new developer account - everything should be the same on the app (same group and same extension identifiers under the new account) This will actually mean that the possible issue of 2 network extensions is gone, right?